feat: version 7.5.25#131
Merged
Merged
Conversation
📋 Changelog SummaryThis PR includes the following changes: ✨ Features
📊 Diff Stats
🤖 Auto-generated by changelog workflow |
📊 Test Coverage Report🎯 Dart/Flutter
🤖 Generated by coverage workflow |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request adds support for restricting selectable dates in all themed date and date-time picker components by introducing new
firstDayandlastDayparameters. These parameters allow developers to specify a date range, preventing users from selecting dates outside of the defined boundaries. The changes are applied consistently across all relevant widgets, and theThemedCalendarwidget is updated to enforce these constraints.Date range restriction support:
firstDayandlastDayparameters toThemedCalendar, with logic to disable selection of days outside the specified range. [1] [2]firstDayandlastDayparameters to all picker widgets:ThemedDateRangePicker,ThemedDatePicker,ThemedDateTimeRangePicker,ThemedDateTimePicker, andThemedDateTimeSteppedPicker, including their constructors and internal calendar usage. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]Documentation and versioning:
CHANGELOG.mdto document the new parameters and their support across all picker widgets.7.5.25inpubspec.yaml.Example usage:
ThemedDateTimeSteppedPicker.